package com.shareyi.simpleserver.servlet.config;

import java.util.HashMap;
import java.util.Map;

public class FilterBean {

	private String filterName;
	private String filterClass;
	private Map<String,String> configParams;
	
	public FilterBean(){
		configParams=new HashMap<String, String>();
	}
	public String getFilterName() {
		return filterName;
	}
	public void setFilterName(String filterName) {
		this.filterName = filterName;
	}
	public String getFilterClass() {
		return filterClass;
	}
	public void setFilterClass(String filterClass) {
		this.filterClass = filterClass;
	}
	public Map<String, String> getConfigParams() {
		return configParams;
	}

	
	public void addParam(ConfigParam configParam){
		configParams.put(configParam.getParamName(), configParam.getParamValue());
	}
	
	
}
